package com.hrt.bean;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class StockSources {
	/**
	 * 0 前端网站提交，
	 */
	public static final Integer ORDER_SOURCE =1;

	/**
	 * 1 后端管理员提交
	 */
	public static final Integer NOT_ORDER_SOURCE = 0;

	private static List<Map<String, Object>> stockSource;

	public static List<Map<String, Object>> getStockSource() {
		if (stockSource == null) {
			stockSource = new ArrayList<Map<String, Object>>();
			Map<String, Object> map = new HashMap<String, Object>();
			map.put("key", ORDER_SOURCE);
			map.put("val", "来自订单");

			Map<String, Object> map1 = new HashMap<String, Object>();
			map1.put("key", NOT_ORDER_SOURCE);
			map1.put("val", "来自后台单据");
			stockSource.add(map);
			stockSource.add(map1);
		}
		
		return stockSource;
	}

	

	

	

}
